<html>
	<head>
		<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
		<title>PHP文件管理器</title>
			<style>
			body {font: normal 13px auto "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;background: #E6EAE9;}
			table tr td{
			 background:white;
			 
			}
			</style>
	</head>
	<body>
		<div class='main'>
			<div align='center' style='background:white;'><p style='font-size:30px;color:#00BFFF;'>PHP文件管理器</p></div>
			
			<div>
				<table  width='100%';>
					<tr>
						<td>主机：<?php echo $_SERVER['SERVER_NAME']; ?></td>
						<td>时间：<?php echo date('Y-m-d h:m:s',time()+8*3600); ?></td>
						<td>IP：<?php echo $_SERVER['REMOTE_ADDR']; ?></td>
						<td><a href=''>退出</a></td>
					</tr>
				</table>
			</div>
			
			<div>
				<form action='' method='get'>
					<table  width='100%';>
						<tr>
							<td>路径</td>
							<td>网址:<input type='text'>&nbsp;文件名:<input type='text'><input type='submit' value='离线下载'></td>
							<td>升级</td>
						</tr>
					</table>
			
				</form>
			</div>
		
			<div>
				<form action='' method='get'>
					<table  width='100%'>
						<tr>
							<td>文件名</td>
							<td>创建日期</td>
							<td>修改时间</td>
							<td>文件大小</td>
							<td>属性</td>
							<td>操作</td>
						</tr>
						<tr>
							<td>返回</td>
						</tr>
						<tr>
							<td><input type='checkbox'>1</td>
							<td>2</td>
							<td>3</td>
							<td>4</td>
							<td>5</td>
							<td>6</td>
						</tr>
					</table>
			
				</form>
			</div>
		
		
		</div>
	</body>
</html>
<?php
	function file($path){
	
		if(is_dir($path)){
		$dir = opendir($path);
		if($dir){}
		
		}
	}




?>